﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Manager;
using Util;

public partial class Show : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string sid = Request["sid"];
            int id = sid == null ? 1 : int.Parse(sid);

            SubjectManager m = new SubjectManager();
            ThisSubject = m.GetFullSubject(id);
            var s =ThisSubject.sid;

            LogUtil.Degug(ThisSubject.Users.name);

        }
    }

    public Subject ThisSubject { get; set; }
}
